package com.heze.xunhuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heze.xunhuan.entity.Report;
import com.heze.xunhuan.vo.PageVO;

import java.util.Map;

/**
 * 举报服务接口
 *
 * @author heze-xunhuan
 */
public interface ReportService extends IService<Report> {

    /**
     * 提交举报
     */
    Long submitReport(Long reporterId, String targetType, Long targetId, String reasonType,
                      String reasonDetail, Map<String, Object> evidence);

    /**
     * 获取举报列表
     */
    PageVO<Report> getReports(Integer page, Integer size, String status);

    /**
     * 处理举报
     */
    void handleReport(Long reportId, Long handlerId, String status, String handledResult);
}

